xen.git
19 years agolinux: vmalloc_sync_all() is not a no-op when running in PAE mode on Xen.
Keir Fraser [Sat, 17 Feb 2007 13:26:33 +0000 (13:26 +0000)]
linux: vmalloc_sync_all() is not a no-op when running in PAE mode on Xen.
Also vmalloc_sync_all() is only defined for x86 architectures so make
use of it in driver code conditional on CONFIG_X86.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix 64-bit build.
kfraser@localhost.localdomain [Sat, 17 Feb 2007 09:59:00 +0000 (09:59 +0000)]
Fix 64-bit build.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TAPDISK] add tapdisk support for image chaining
Jake Wires [Sat, 17 Feb 2007 04:31:27 +0000 (20:31 -0800)]
[TAPDISK] add tapdisk support for image chaining

Enables tapdisk to chain an arbitrary number of VDIs, propagating reads of
holes in children to their parent images.  Introduces two new functions to the
tapdisk interface to facilitate this.  Modifies the QCoW plugin to take
advantage of these changes, thus providing support for arbitrarily long chains
of QCoW image types.

19 years agox86-64: fix Lx_DISALLOW_MASK
kfraser@localhost.localdomain [Fri, 16 Feb 2007 16:34:28 +0000 (16:34 +0000)]
x86-64: fix Lx_DISALLOW_MASK

x86-64's Lx_DISALLOW_MASK values weren't properly taking care of the
NX bit, L3 and L4 were needlessly customized, and the compat mode L3
one wasn't really matching native PAE.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux/x86_64: miscellaneous initialization code cleanup
kfraser@localhost.localdomain [Fri, 16 Feb 2007 16:05:01 +0000 (16:05 +0000)]
linux/x86_64: miscellaneous initialization code cleanup
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agohvm: Processor Objects require unique IDs.
kfraser@localhost.localdomain [Fri, 16 Feb 2007 15:50:02 +0000 (15:50 +0000)]
hvm: Processor Objects require unique IDs.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agohvm: Dynamically generate the correct number of ACPI Processor Objects
kfraser@localhost.localdomain [Fri, 16 Feb 2007 15:33:51 +0000 (15:33 +0000)]
hvm: Dynamically generate the correct number of ACPI Processor Objects
in an SSDT.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Set p2m page count-info fields properly on allocation.
Tim Deegan [Fri, 16 Feb 2007 13:10:00 +0000 (13:10 +0000)]
[XEN] Set p2m page count-info fields properly on allocation.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore: explicitly name MSRs in save format
Tim Deegan [Fri, 16 Feb 2007 12:34:30 +0000 (12:34 +0000)]
[HVM] Save/restore: explicitly name MSRs in save format
Signed off by: Mats Petersson (Mats.Petersson@amd.com)

19 years agoFix grant-table initialisation so that domain destruction does not barf.
kfraser@localhost.localdomain [Fri, 16 Feb 2007 12:13:33 +0000 (12:13 +0000)]
Fix grant-table initialisation so that domain destruction does not barf.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
kfraser@localhost.localdomain [Fri, 16 Feb 2007 11:24:10 +0000 (11:24 +0000)]
linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix vncdisplay config option for HVM guests.
kfraser@localhost.localdomain [Fri, 16 Feb 2007 09:57:25 +0000 (09:57 +0000)]
Fix vncdisplay config option for HVM guests.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
19 years agohvm: Fix acpi processor id in MADT LAPIC entries.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 19:03:09 +0000 (19:03 +0000)]
hvm: Fix acpi processor id in MADT LAPIC entries.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoia64: Fix build failure
kfraser@localhost.localdomain [Thu, 15 Feb 2007 18:05:05 +0000 (18:05 +0000)]
ia64: Fix build failure
Signed-off-by: Alex WIlliamson <alex.williamson@hp.com>
19 years ago[HVM] Save/restore: remove u8 from publich header
Tim Deegan [Thu, 15 Feb 2007 14:58:43 +0000 (14:58 +0000)]
[HVM] Save/restore: remove u8 from publich header
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoRemove unnecessary check from HVM builder.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:38:08 +0000 (14:38 +0000)]
Remove unnecessary check from HVM builder.
Thanks to Guy Zana for spotting this.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoLift physical address restriction in save/restore code.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:28:01 +0000 (14:28 +0000)]
Lift physical address restriction in save/restore code.
Bump this to 44 bits for x86-32 and 52 bits for x86-64.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoPropagate error return from elf_xen_parse().
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:25:58 +0000 (14:25 +0000)]
Propagate error return from elf_xen_parse().
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agox86: fix NMI delivery to dom0
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:24:11 +0000 (14:24 +0000)]
x86: fix NMI delivery to dom0
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoBring TPM driver files to 2.6.18 level. Remove the tpm.c so that the
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:21:50 +0000 (14:21 +0000)]
Bring TPM driver files to 2.6.18 level. Remove the tpm.c so that the
one from the kernel can be used and reduce changes to a minimum
required to compile the xen-specific driver.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[ACM] Update the xensec_ezpolicy ACM policy generation tool so
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:20:05 +0000 (14:20 +0000)]
[ACM] Update the xensec_ezpolicy ACM policy generation tool so
that it works with wxPython under Python 2.5.
Signed-off by: Reiner Sailer <sailer@us.ibm.com>

19 years agominios: build system cleanups.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:18:21 +0000 (14:18 +0000)]
minios: build system cleanups.

- Added ARCH_LDFLAGS for architecture specific LDFLAGS
- Fixed build dependencies after changing makerule files
- Fixed ARCH_CFLAGS for 64bit guest, added ARCH_ASFLAGS
- Couple of variable renames

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoDisable GCC stack protector for ROMBIOS.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:17:00 +0000 (14:17 +0000)]
Disable GCC stack protector for ROMBIOS.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
19 years agolinux: miscellaneous changes after upgrade through 2.6.17.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:12:32 +0000 (14:12 +0000)]
linux: miscellaneous changes after upgrade through 2.6.17.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: e820 handling adjustments
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:05:58 +0000 (14:05 +0000)]
linux: e820 handling adjustments
In certain places, machine_e820 should be used rather than e820.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: user user_mode_vm() in place of user_mode() where necessary.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:51:25 +0000 (13:51 +0000)]
linux: user user_mode_vm() in place of user_mode() where necessary.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: avoid need to modify include/linux/pfn.h
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:49:04 +0000 (13:49 +0000)]
linux: avoid need to modify include/linux/pfn.h
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: early_printk adjustments
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:40:33 +0000 (13:40 +0000)]
linux: early_printk adjustments

This is a little more than a pure merge with 2.6.17, to remove a few
more non-Xen items.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: proper mutex use in balloon driver
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:38:59 +0000 (13:38 +0000)]
linux: proper mutex use in balloon driver
Mutexes are supposed to not use the old semaphore technique anymore.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[VTPM] Add a missing initialization of a state variable in the TIS
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:36:58 +0000 (13:36 +0000)]
[VTPM] Add a missing initialization of a state variable in the TIS
device model so that the first response received after a resume is not
aborted.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years agolibxc: Fix xc_vcpu_{set,get}_affinity (Xen-bugzilla No.900).
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:36:00 +0000 (13:36 +0000)]
libxc: Fix xc_vcpu_{set,get}_affinity (Xen-bugzilla No.900).
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=900

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoDynamic grant-table sizing.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:54:12 +0000 (10:54 +0000)]
Dynamic grant-table sizing.
Signed-off-by: Christopher CLark <christopher.clark@cl.cam.ac.uk>
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRemove unuseful and noisy seg-fixup warning message.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:34:21 +0000 (10:34 +0000)]
Remove unuseful and noisy seg-fixup warning message.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRemove old elf-parsing code from tools and from Xen.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:25:39 +0000 (10:25 +0000)]
Remove old elf-parsing code from tools and from Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago Protect self.domid from being empty
Wim Colgate [Wed, 14 Feb 2007 20:18:32 +0000 (12:18 -0800)]
Protect self.domid from being empty

19 years agoExport PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:17:41 +0000 (19:17 +0000)]
Export PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
libxc continues to use PRIpfn internally, #defined to PRI_xen_pfn.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xenppc-unstable.hg
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:01:35 +0000 (19:01 +0000)]
Merge with xenppc-unstable.hg

19 years agolibelf: use xen code style.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 16:06:10 +0000 (16:06 +0000)]
libelf: use xen code style.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux: quieten some driver printk logging.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 16:05:28 +0000 (16:05 +0000)]
linux: quieten some driver printk logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAnother domctl fix to insert missing copy_to_guest.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 15:54:47 +0000 (15:54 +0000)]
Another domctl fix to insert missing copy_to_guest.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years agoMerge
Tim Deegan [Wed, 14 Feb 2007 14:47:05 +0000 (14:47 +0000)]
Merge

19 years ago[XEN] Snapshot PAE l3es when they are shadowed.
Tim Deegan [Wed, 14 Feb 2007 14:46:18 +0000 (14:46 +0000)]
[XEN] Snapshot PAE l3es when they are shadowed.
We don't update the shadows so we mustn't look at the guest l3es
or we'll be confused by them if they change.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEN] Re-sync PAE l3 shadows when PV guests change them
Tim Deegan [Wed, 14 Feb 2007 14:44:07 +0000 (14:44 +0000)]
[XEN] Re-sync PAE l3 shadows when PV guests change them
-in particular, for PAE Solaris guests
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoMake libelf not fail on unknown elf notes.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:37:13 +0000 (12:37 +0000)]
Make libelf not fail on unknown elf notes.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years agoAdd missing breaks to {set,get}_address_size domctls.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:35:36 +0000 (12:35 +0000)]
Add missing breaks to {set,get}_address_size domctls.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years agoFix DEC instruction decode. Turn into SUB, not OR. :-)
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:14:49 +0000 (12:14 +0000)]
Fix DEC instruction decode. Turn into SUB, not OR. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoSupport INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:10:01 +0000 (12:10 +0000)]
Support INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] New paging-assistance interface.
Tim Deegan [Wed, 14 Feb 2007 12:02:20 +0000 (12:02 +0000)]
[XEN] New paging-assistance interface.
Adds paging_* functions, wrapping the existing shadow_* ones,
so that later hardware paging assistance can be hooked in at this level.
Separates p2m maintenance code into its own files.
Adjusts shadow code to comply with the new interfaces.
Changes all callers in arch/x86 to use the new interfaces.

Signed-off-by: Wei Huang <Wei.Huang2@amd.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
Ian Campbell [Tue, 13 Feb 2007 15:32:25 +0000 (15:32 +0000)]
[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
generic infrastructure for cad_pid etc.

Add a ctrl_alt_del() implemenation to the PV on HVM compatibility
layer since ctrl_alt_del() is not exported on native kernels.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[POWERPC][XEN] Use libelf for dom0 construction.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:22 +0000 (14:43 -0600)]
[POWERPC][XEN] Use libelf for dom0 construction.
- Remove old 32-bit ELF loader hack.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[LIBELF] Define PRIpfn next to xen_pfn_t.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:22 +0000 (14:43 -0600)]
[LIBELF] Define PRIpfn next to xen_pfn_t.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Opt out of new libxc domain builder.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] Opt out of new libxc domain builder.
PowerPC needs more flexibility than the new framework allows.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[LIBELF] Print phdr addresses when loading.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[LIBELF] Print phdr addresses when loading.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Fix RCU crash.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] Fix RCU crash.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] strlcpy() fallout.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] strlcpy() fallout.
- Implement strlcpy() for the dom0 firmware.
- Remove strncpy() from dom0 firmware.
- Correct buffer length in device tree copying.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
kfraser@localhost.localdomain [Fri, 9 Feb 2007 18:19:24 +0000 (18:19 +0000)]
[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPrint all by default in debug builds.
kfraser@localhost.localdomain [Fri, 9 Feb 2007 17:38:33 +0000 (17:38 +0000)]
Print all by default in debug builds.

19 years ago[HVM] Save/restore: disentangle max_pfn from nr_pages.
Tim Deegan [Fri, 9 Feb 2007 10:48:41 +0000 (10:48 +0000)]
[HVM] Save/restore: disentangle max_pfn from nr_pages.
These have been used interchangeably, which is OK for PV domains but
not for HVM.  This fixes an over-allocation by 256MB when restoring
HVM guests that have more than 4GB of RAM.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoAdd missing Makefile in x86_64/compat so that it builds on x86_64.
Alastair Tse [Fri, 9 Feb 2007 10:21:12 +0000 (10:21 +0000)]
Add missing Makefile in x86_64/compat so that it builds on x86_64.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years agoFix non-x86 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:36:35 +0000 (21:36 +0000)]
Fix non-x86 build.

19 years agoFix x86/64 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:30:29 +0000 (21:30 +0000)]
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agox86: hide assembly labels
Keir Fraser [Thu, 8 Feb 2007 18:18:56 +0000 (18:18 +0000)]
x86: hide assembly labels

Prevent the fault recovery labels to clutter the symbol table and the
disassembly.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[HVM][SVM] Do not advertise FFXSR feature.
Keir Fraser [Thu, 8 Feb 2007 18:01:42 +0000 (18:01 +0000)]
[HVM][SVM] Do not advertise FFXSR feature.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUse printk log-level limiting even during Xen boot.
Keir Fraser [Thu, 8 Feb 2007 17:46:14 +0000 (17:46 +0000)]
Use printk log-level limiting even during Xen boot.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoSmall cleanups to PV-on-HVM support code.
Keir Fraser [Thu, 8 Feb 2007 17:38:30 +0000 (17:38 +0000)]
Small cleanups to PV-on-HVM support code.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xen-ia64-unstable.hg.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:27:30 +0000 (17:27 +0000)]
Merge with xen-ia64-unstable.hg.

19 years agoRemove unnecessarily modified a.out.h.
Keir Fraser [Thu, 8 Feb 2007 17:21:04 +0000 (17:21 +0000)]
Remove unnecessarily modified a.out.h.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoMove skb_pull_rcsum() to its usual place in skbuff.c
Keir Fraser [Thu, 8 Feb 2007 17:19:49 +0000 (17:19 +0000)]
Move skb_pull_rcsum() to its usual place in skbuff.c

19 years agoFix a typo in console_steal().
Keir Fraser [Thu, 8 Feb 2007 17:15:38 +0000 (17:15 +0000)]
Fix a typo in console_steal().
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
19 years agoFix xen-detect build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:07:36 +0000 (17:07 +0000)]
Fix xen-detect build.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd example xen-detect.c code for detecting application execution in
Keir Fraser [Thu, 8 Feb 2007 17:04:26 +0000 (17:04 +0000)]
Add example xen-detect.c code for detecting application execution in
Xen PV or HVM contexts, using the Xen CPUID extensions.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix localtime setting for PV domains.
Ewan Mellor [Thu, 8 Feb 2007 16:52:05 +0000 (16:52 +0000)]
Fix localtime setting for PV domains.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
19 years ago[HVM] Save/restore: don't try to set the console ring MFN
Tim Deegan [Thu, 8 Feb 2007 15:00:33 +0000 (15:00 +0000)]
[HVM] Save/restore: don't try to set the console ring MFN
in a HVM restore.  In particular, don't print an uninitialized stack
variable, which causes XMLRPC exceptions in xend.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoMerge
Tim Deegan [Thu, 8 Feb 2007 13:43:19 +0000 (13:43 +0000)]
Merge

19 years ago[HVM] Save/restore: save pmtimer count register
Tim Deegan [Thu, 8 Feb 2007 13:42:49 +0000 (13:42 +0000)]
[HVM] Save/restore: save pmtimer count register
Also remove the repeating timer from pmtimer.c because it doesn't do anything.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEN] Fix typos in comment describing 32on64 memory layout
Ian Campbell [Thu, 8 Feb 2007 12:33:32 +0000 (12:33 +0000)]
[XEN] Fix typos in comment describing 32on64 memory layout

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] kexec: add compatability shim for kexec in 32on64 mode.
Ian Campbell [Thu, 8 Feb 2007 11:03:32 +0000 (11:03 +0000)]
[XEN] kexec: add compatability shim for kexec in 32on64 mode.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] kexec: Remove asm/kexec.h. Move the single inline function into
Ian Campbell [Thu, 8 Feb 2007 11:03:29 +0000 (11:03 +0000)]
[XEN] kexec: Remove asm/kexec.h. Move the single inline function into
arch specific machine_kexec.c with the other arch specific kexec
functions.

IA64 already had a stub in both kexec.h and machine_kexec.c.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] When removing pages, drop shadow refs before complaining about refcount.
Tim Deegan [Thu, 8 Feb 2007 10:44:53 +0000 (10:44 +0000)]
[XEN] When removing pages, drop shadow refs before complaining about refcount.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[POWERPC][XEN] Fix mismerge.
Hollis Blanchard [Thu, 8 Feb 2007 00:53:33 +0000 (18:53 -0600)]
[POWERPC][XEN] Fix mismerge.

19 years ago[blktap] Allow HVM booting from blktap device(s)
wim@xen-wim.site [Thu, 8 Feb 2007 00:53:01 +0000 (16:53 -0800)]
[blktap] Allow HVM booting from blktap device(s)

Signed-off-by: wim colgate <wim@xensource.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:46:18 +0000 (10:46 -0700)]
merge with xen-unstable.hg

19 years ago[HVM] Save/restore: don't try to save the MMIO memory-hole at 4GB.
Tim Deegan [Wed, 7 Feb 2007 17:29:52 +0000 (17:29 +0000)]
[HVM] Save/restore: don't try to save the MMIO memory-hole at 4GB.
Also remove two integer arrays that were set to a[i] == i.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEND] Open save/restore files with O_LARGEFILE if possible
Tim Deegan [Wed, 7 Feb 2007 17:29:21 +0000 (17:29 +0000)]
[XEND] Open save/restore files with O_LARGEFILE if possible
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[IA64] Clean up error messages from lookup_domain_mpa()
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:14:41 +0000 (10:14 -0700)]
[IA64] Clean up error messages from lookup_domain_mpa()

Guest I/O port accesses aren't very interesting, so reduce their log level

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoImprove hotplug script error reporting via xenstore.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:22:55 +0000 (16:22 +0000)]
Improve hotplug script error reporting via xenstore.

Use this to detect and report up-front in vif-bridge script whether
the bridge device exists or not.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agoDom0 VNC server should not drop any of teh 8 supported mouse button
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:20:28 +0000 (16:20 +0000)]
Dom0 VNC server should not drop any of teh 8 supported mouse button
event types.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agopvfb: Split mouse and keyboard into separate devices.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:12:40 +0000 (16:12 +0000)]
pvfb: Split mouse and keyboard into separate devices.

This patch creates two separate input devices for keyboard and mouse
events.  The reason for this is to separate them in the linux input
layer and allow them being routed different ways.

Use case:  Configure the X-Server like this to get the mouse
events directly from the linux input layer, which has the major
advantage that absolute coordinates work correctly:

Section "InputDevice"
  Driver       "evdev"
  Identifier   "Mouse"
  Option       "Device" "/dev/input/event<nr>"
EndSection

This makes the keyboard stop working though in case mouse and
keyboard events are coming through the same input device, at least
with older Xorg (6.9) versions.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Assign fake pci product identifiers down from 0xffff. This may help
clarify that the devices are not actually PCI. Also it reduces
probability of accidental conflict if further real PCI assignments
occur in future (0x0002, 0x0003, ... would be obvious next identifiers
to allocate).

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agohvm: Add PCI subsystem ID to emulated devices.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:08:47 +0000 (16:08 +0000)]
hvm: Add PCI subsystem ID to emulated devices.

This patch adds the PCI Subsystem ID 5853:0001 to the virtual
devices emulated by qemu (ide, nic, vga).

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[XEN] Remove bogus assertion in shadow emulation path
Tim Deegan [Wed, 7 Feb 2007 12:58:07 +0000 (12:58 +0000)]
[XEN] Remove bogus assertion in shadow emulation path
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore: dynamically calculate the size of the save buffer
Tim Deegan [Wed, 7 Feb 2007 12:41:46 +0000 (12:41 +0000)]
[HVM] Save/restore: dynamically calculate the size of the save buffer
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore: move save/restore routines out of intercept.c
Tim Deegan [Wed, 7 Feb 2007 10:21:15 +0000 (10:21 +0000)]
[HVM] Save/restore: move save/restore routines out of intercept.c
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoRevert 13805: losetup -r is not portable
Tim Deegan [Wed, 7 Feb 2007 12:25:18 +0000 (12:25 +0000)]
Revert 13805: losetup -r is not portable
which breaks CD support on Debian Sarge, FC4, probably others.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agolinux: Fix softlockup interaction with noidlehz.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 02:16:56 +0000 (02:16 +0000)]
linux: Fix softlockup interaction with noidlehz.

next_timer_interrupt() must check for when timer ISR is due to wake up
the softlockup thread.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUpdate .hgignore list
Keir Fraser [Wed, 7 Feb 2007 00:51:26 +0000 (00:51 +0000)]
Update .hgignore list

19 years agolinux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Keir Fraser [Wed, 7 Feb 2007 00:39:48 +0000 (00:39 +0000)]
linux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux/i386: Improve critical region handling code
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:36:53 +0000 (23:36 +0000)]
linux/i386: Improve critical region handling code

- use symbolics instead of raw numbers (going to help the 2.6.20 port,
as those numbers change there)
- fold instructions where possible
- move fixup table into .rodata

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agohvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:14:21 +0000 (23:14 +0000)]
hvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agominios: Fix netfront for ia64.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:12:59 +0000 (23:12 +0000)]
minios: Fix netfront for ia64.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years agoFix up xentrace record extraction in xentrace_format for 64-bit
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:10:05 +0000 (23:10 +0000)]
Fix up xentrace record extraction in xentrace_format for 64-bit
architectures.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>